package com.gengao.springbootcase.service;

import com.gengao.springbootcase.pojo.Dept;

import java.util.List;

public interface DeptService {
    List<Dept> list();
    void delete(Integer id) throws Exception;
    void insert(Dept dept);

    void update(Dept dept);

    Dept getById(Integer id);
}
